﻿/*
 * @Author: zxf 
 * @Date: 2017-09-15 15:16:37 
 * @Last Modified by: zhuxiaofang
 * @Last Modified time: 2018-06-27 16:58:57
 */

html,
body,
section,
article,
aside,
ul,
ol,
li,
p,
h1,
h2,
h3,
h4,
h5,
h6,
img,
textarea,
input,
select,
button,
form,
figure {
  margin: 0;
  padding: 0;
  font: normal 12px microsoft yahei, arial;
  box-sizing: border-box;
}

html,
body {
  background-color: #f5f7f6; // background-color:#4c4743;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.col-md-12 {
  overflow: hidden;
}

em,
i {
  font-style: normal;
}

ul,
ol,
li {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
  border: none;
  vertical-align: middle;
}

a,
input,
button,
textarea {
  outline: none;
  resize: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

button {
  -webkit-appearance: none;
}

p {
  word-break: break-all;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all ease 0.7s;
}

a:hover {
  opacity: 0.8;
}

.c:after {
  content: "";
  display: table;
  clear: both;
}

.hor,
.ell,
.arrow {
  display: inline-block;
  vertical-align: middle;
}

.arrow {
  width: 0;
  height: 0;
  overflow: hidden;
  border: 6px solid transparent;
}

.btn {
  position: relative;
  display: inline-block;
  padding: 6px 10px;
  margin-bottom: 0;
  font-size: 14px;
  min-width: 10px;
  text-align: center;
  white-space: nowrap;
  vertical-align: top;
  cursor: pointer;
  background-color: #ccc;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.ell {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hide {
  display: none;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.clamp {
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.show {
  display: block !important;
}

.align {
  display: -webkit-box;
  -webkit-box-align: center;
  -webkit-box-pack: center;
}

.center {
  width: 1200px;
  margin: 0 auto;
}

.clearfix::before,
.clearfix::after {
  content: '';
  display: table;
}

.clearfix::after {
  clear: both;
}

.proRight {
  // width: calc(100% - 200px);
  // float: right;
  background-color: #f5f7f6;
  width: 85%;
  overflow: hidden;
  box-sizing: border-box; // margin-bottom:(170/40)*1rem;
}

// 
input:focus,
textarea:focus {
  -webkit-box-shadow: 0px 0px .5px .5px rgba(9, 186, 121, 0.4);
  -moz-box-shadow: 0px 0px .5px .5px rgba(9, 186, 121, 0.4);
  box-shadow: 0px 0px .5px .5px rgba(9, 186, 121, 0.4);
  border-color: rgba(9, 186, 121, 0.2);
  //     border-color: #66afe9;
  //   outline: 0;
  //   -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
  //     box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);   
}

::-webkit-input-placeholder {
  /* WebKit browsers */
  color: #ccc;
}

:-moz-input-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: #ccc;
  opacity: 1;
}

::-moz-input-placeholder {
  /* Mozilla Firefox 19+ */
  color: #ccc;
  opacity: 1;
}

:-ms-input-placeholder {
  /* Internet Explorer 10+ */
  color: #ccc;
}

.form-group {
  //bootstrap 的表单
  color: #7f889c;
}

a:hover {
  text-decoration: none;
}

.product {
  // background-color:#4c4743;
  // background-color: #f8f3f0;
}

.tableInfor {
  margin-left: 18px;
  padding-right: 18px;
  padding-bottom: 30px;
}

.selectList {
  // height: (60/40)*1rem;
  // 27号修改的
//   margin-left: 30px;
  padding: 5px 12px;
  overflow: hidden;
  background-color: #fff;
  border: 1px solid #eae6e4;
  margin-bottom: 20px;
  position: relative;
  label {
    margin-bottom: 0;
  }
  li {
    float: left; // height: 60px;
    // line-height: 60px;
    margin: 8px 0;
    margin-right: 15px;
    // 产品管理搜索框
    .searchIcon {
        margin-left:20px
    }
    input {
      width: 140px;
      height: 34px; // line-height: 34px;
      padding-left: 8px;
      &.hasDatepicker {
        width: 130px;
        background: #fff url('../../assets/images/date.png') no-repeat scroll right center;
        padding-right: 35px;
      }
    }
    .start,
    .end {
      width: 170px;
    }
    /**/
    font-size: 12px;
    color:#7f889c;
    span,
    button,
    input,
    option,
    select {
      font-size: 12px;
    }
    .dataFrom {
      color: #e6e1df;
    }
    select {
      height: 34px;
      line-height: 34px;
    }
    span {
      color: #ddd;
    }
  }
  li:nth-last-child(1) {
    margin-right: 0;
  }
  button {
    //按钮
    border: none;
    color: #fff;
    height: 34px;
    line-height: 34px;
    padding: 0 10px;
    background-color: #09ba79;
  }
  li:nth-last-child(1) button {
    margin-left: 14px;
  }
  .newBtn,
  .exportList {
    position: absolute;
    top: 50%;
    margin-top: -16px;
  }
}

.table-bordered {
  margin-bottom: 20px;
  width: 100%;
  th {
    font-weight: normal;
    border-bottom-width: 1px;
  }
  th,
  td {
    color: #7f889c;
    text-align: center;
    vertical-align: middle;
    font-size: 12px;
    span,
    input,
    buttton {
      font-size: 12px;
    }
  }
  td {
    color: #4e5e7e;
    .number {
      /*强制换行*/
      // word-wrap: break-word;  
      // word-break: normal; 
      word-break: break-all;
      /*必须*/
      color: #09ba79;
      cursor: pointer;
    }
    .name {
      /*两行显示 多余的字隐藏，并显示省略号*/
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      color: #09ba79;
      cursor: pointer;
    }
    .timespan {
      display: block;
      white-space: nowrap; // text-align: center;
    }
    .price-span {
      display: block;
      white-space: nowrap;
    }
    .block {
      display: block;
    }
    .keywords {
      display: inline-block;
      margin: 0 2px;
    }
    .link {
      word-break: break-all;
      /*必须*/
    }
    .listInput-span {
      margin: 4px 0;
      display: block;
      white-space: nowrap;
      .listInput {
        width: 70px;
        font-size: 12px;
        color: #4e5e7e;
        padding: 0 5px;
        height: 24px;
      }
    }
  }
  .des {
    text-align: left;
  }
  .handle {
    // span{
    //     cursor:pointer;
    // }
    .orderBtn {
      margin: 3px 5px 3px 0;
      display: inline-block;
      cursor: pointer;
      color: #09ba79;
      text-decoration: none;
    } // .orderBtn:last-of-type{
    //     margin-right: 0;
    // }
  }
  tbody {
    background-color: #fff;
  }
}

.table-bordered {
  border: 1px solid #ddd;
}

.table-bordered>thead {
  background-color: #f5f5f5;
  white-space: nowrap;
}

.table-bordered>thead>tr>th,
.table-bordered>tbody>tr>th,
.table-bordered>tfoot>tr>th,
.table-bordered>thead>tr>td,
.table-bordered>tbody>tr>td,
.table-bordered>tfoot>tr>td {
  border: 1px solid #ddd;
  padding: 8px;
}

.table-bordered>thead>tr>th,
.table-bordered>thead>tr>td {
  border-bottom-width: 2px;
}

.table-striped>tbody>tr:nth-of-type(odd) {
  background-color: #f9f9f9;
}

.table-hover>tbody>tr:hover {
  background-color: #f5f5f5;
}

.productProNew {
  background-color: #fff;
  border: 1px solid #eae6e4;
  padding: 0 30px 30px 30px;
  .title {
    border-bottom: 1px solid #e6e1df;
    margin-bottom: 10px;
    h1 {
      font-size: 18px;
      color: #9fa5b2;
      height: 60px;
      line-height: 60px;
    }
    span {
      padding-right: 20px;
      transition: 0.1s;
      .num {
        color: #fff;
        width: 24px;
        height: 24px;
        line-height: 24px;
        font-size: 16px;
        margin-top: -5px;
        text-align: center;
        font-weight: normal;
        vertical-align: middle;
        border-radius: 50%;
        display: inline-block;
        margin-right: 8px;
        background-color: #9fa5b2;
      }
      .jt {
        width: 13px;
        height: 14px;
        display: inline-block;
        margin-left: 20px;
        background: url('../images/jt.png') no-repeat center center;
        background-size: contain;
      }
      .jtactive {
        background-image: url('../images/jtactive.png');
      }
    }
    .active {
      color: #09ba79;
      .num {
        background-color: #09ba79;
      }
    }
  }
}

input {
  border: none;
  border: 1px solid #ddd;
}

// input{
//     padding-left:(7/40)*1rem;
//     font-size:(14/40)*1rem;
//     width:(120/40)*1rem;
//     height:(35/40)*1rem;
//     line-height: (35/40)*1rem;
// }
label {
  font-weight: normal;
}

select {
  color: #ccc;
}

select option:nth-child(1) {
  color: #ccc;
}

select:focus {
  color: #7f889c;
  outline: 0;
  border-color: rgba(9, 186, 121, 0.2);
  -webkit-box-shadow: 0px 0px .5px .5px rgba(9, 186, 121, 0.4);
  -moz-box-shadow: 0px 0px .5px .5px rgba(9, 186, 121, 0.4);
  box-shadow: 0px 0px .5px .5px rgba(9, 186, 121, 0.4);
}

select,
input,
button {
  cursor: pointer;
}

.select {
  border: 0;
  padding-left: 8px;
  border: 1px solid #ddd;
  display: inline;
}

.select {
  // appearance: none;
  -o-appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background: #fff url('../../assets/images/date.png') no-repeat scroll right center; // background-size:(26/40)*1rem 0.875rem;
  padding-right: 35px;
}

select::-ms-expand {
  display: none;
}

.table-bordered {
  th {
    font-weight: normal;
    border-bottom-width: 1px !important;
  }
  th,
  td {
    color: #7f889c;
    text-align: center;
    vertical-align: middle !important;
  }
  td {
    color: #4e5e7e;
  }
  .des {
    text-align: left;
  }
  tbody {
    background-color: #fff;
  }
}

.detailsBox {
  background-color: #fff;
  border: 1px solid #eae6e4;
  padding: 0 30px 30px;
  .title {
    border-bottom: 1px solid #e6e1df;
    margin-bottom: 30px;
    h1 {
      font-size: 18px;
      color: #9fa5b2;
      height: 70px;
      line-height: 70px;
      padding-left: 20px;
    }
  }
  .table {
    border-left: 1px solid #e6e1df;
    width: 100%;
    margin-bottom: 32px;
  }
  .BasicInfo-table {
    th {
      background: #ff8c00;
      height: 4px;
      border-right: 1px solid #ff8c00;
    }
    .name {
      background: #09ba79;
      border-right: 1px solid #09ba79;
    }
    td {
      border-bottom: 1px solid #e6e1df;
      border-right: 1px solid #e6e1df;
      padding: 15px 20px;
      line-height: 24px;
      font-size: 12px;
      color: #4e5e7e;
      .price {
        display: inline-block;
        min-width: 100px;
        margin-right: 10px;
      }
      .credentials {
        display: inline-block;
        margin-right: 10px;
      }
    }
    .table-title {
      text-align: center;
      color: #4e5e7e;
      font-weight: bold;
      font-size: 12px;
      border-top: 1px solid #e6e1df;
    }
    .imgSpan {
      margin: 5px 0;
      margin-right: 20px;
      display: inline-block;
      line-height: 0;
      img {
        display: inline-block;
        max-width: initial;
      }
    }
  }
  .LoadMore {
    border: 1px solid #e6e1df;
    text-align: center;
    color: #4e5e7e;
    font-size: 12px;
    padding: 10px 20px;
    cursor: pointer;
    margin-bottom: 20px;
  }
  .returnBtn {
    display: inline-block;
    background: #09ba79;
    width: 100px;
    height: 42px;
    line-height: 42px;
    text-align: center;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
  }
}

#app {
  min-width: 1200px;
}

.NoData {
  padding: 20px 0;
  text-align: center;
  background-color: #fff;
  border: 1px solid #eae6e4;
  margin-bottom: 20px;
  font-size: 12px;
}

.notify.notify-msg-p {
  line-height: 32px;
}

.notify .notify-msg {
  height: auto !important;
}

.notify .notify-main .notify-content {
  min-height: auto;
}

.notify .notify-main .notify-btns {
  padding-bottom: 10px;
}

.orderBtn:hover {
  text-decoration: underline; // border-bottom: 1px solid #09ba79;
}

.loading-box {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: url('../../assets/images/loading-2.gif');
  z-index: 100;
  background-position: center center;
  background-repeat: no-repeat;
}

// .product{
//     overflow: hidden;
//     min-height: 100%;
// }
html,
body {
  height: 100%;
}

#app {
  min-height: 100%;
  overflow: hidden;
}

// 修改弹窗样式
.layui-layer-title {
  text-align: center;
  padding: 10px 30px 0;
  background-color: initial;
  font-weight: bold;
  border-bottom: 0;
  font-size: 18px;
}

.layui-layer-setwin .layui-layer-close1 {
  background: url('../../assets/images/tab_guanbi_btn_act.png');
  width: 24px;
  height: 24px;
}

.layui-layer-prompt .layui-layer-btn {
  text-align: center;
}

.layui-layer-btn {
  padding-bottom: 20px;
}

.layui-layer-btn a {
  margin: 5px 15px 0;
  height: 36px;
  line-height: 36px;
  padding: 0 25px;
  font-size: 16px;
  border-radius: 0;
}

.layui-layer-btn .layui-layer-btn0 {
  background-color: #09ba79;
  border-color: #09ba79;
}

.layui-layer-prompt .layui-layer-input {
  width: 280px;
}

.form-group {
  margin: 20px 0;
  font-size: 12px;
  color: #4e5e7e;
  &.required {
    label:before {
      content: '*';
      color: red;
    }
  }
  >label {
    // float: left;
    display: inline-block;
    vertical-align: top;
    font-size: 12px;
    color: #4e5e7e;
    text-align: right;
    width: 100px;
    height: 34px;
    line-height: 34px;
  }
  .site-p {
    font-size: 12px;
    color: #4e5e7e;
    height: 34px;
    line-height: 34px;
  }
  .form-control {
    font-size: 12px;
    color: #4e5e7e;
    width: 150px;
    height: 34px; // line-height: 34px;
    padding-left: 8px;
    &.hasDatepicker {
      background: #fff url('../../assets/images/date.png') no-repeat scroll right center;
      padding-right: 35px;
    }
    &.w80 {
      width: 80%;
    }
    &.w50 {
      width: 50%;
    }
  }
  p.site-p {
    height: 20px;
    line-height: 20px;
    margin-left: 105px;
  }
  .mainImg {
    border: 1px solid #ccc;
    display: inline-block;
    border-radius: 4px;
    padding: 10px;
    position: relative;
    width: 80%;
    box-sizing: border-box;
    input,
    ul {
      float: left;
    }
    .imageList {
      margin-left: 20px;
      li {
        float: left;
        margin-right: 10px; // overflow: hidden;
      }
      img {
        height: 80px;
      }
    }
    label {
      width: 80px;
      height: 80px;
      border: 1px solid #ccc;
      background: url('../../assets/images/camara.png') no-repeat center center;
      background-size: 40px 34px;
      background-color: #ffffff;
      float: left;
      position: absolute;
      cursor: pointer;
      left: 0;
      margin-left: 10px;
      min-width: inherit;
      box-sizing: border-box;
    }
    label::before {
      content: '';
      display: none;
    }
    .filePath {
      width: 80px;
      height: 80px;
      border: none;
      border: 1px solid #ccc;
      padding: 0;
      cursor: pointer;
      position: relative;
      opacity: 0;
    }
  }
  .imgTips {
    display: block;
    padding-left: 100px;
  }
  .addTheme {
    display: inline-block;
    border: 1px solid #ccc;
    height: 34px;
    line-height: 30px;
    padding: 1px 15px;
    margin-left: 5px;
    background-color: #fafafa;
    cursor: pointer;
    box-sizing: border-box;
  }
  .addTheme:hover {
    transition: 0.2s;
    background-color: #f7f6f6;
  }
  .tips {
    color: #ccc7c4;
    margin-left: 5px;
  }
  .themes {
    margin-top: 6px;
    margin-left: 105px;
    overflow: hidden;
    li {
      float: left;
      color: #fff;
      font-size: 12px;
      height: 24px;
      line-height: 24px;
      margin-right: 10px;
      padding-left: 10px;
      padding-right: 30px;
      background: url('../../assets/images/theme.png') no-repeat center right;
      background-size: cover;
      position: relative;
      b {
        width: 10px;
        height: 100%;
        display: inline-block;
        background: url('../../assets/images/theme-del.png') no-repeat center center;
        position: absolute;
        position: absolute;
        right: 10px;
        top: 0;
        background-size: contain;
        cursor: pointer;
      }
    }
  }
  .refunds {
    width: (265/40)*1rem;
  }
  .adultPrice {
    margin-right: (108/40)*1rem;
  }
  /*日期*/
  /*天数*/
  .day {
    margin-right: 80px;
  }
  .seat {
    margin-right: 80px;
  }
  /*电话*/
  /*付款退款*/
  .pay {
    select {
      margin-right: 80px;
    }
  }
  .few {
    width: 526px;
  }
  /*餐点、交通*/
  .Meals {
    // input{
    //     width:(1090/40)*1rem;
    // }
  }
  textarea.form-control {
    width: 80%;
    height: 140px;
    line-height: 20px;
    padding: 5px 10px;
  }
}

.borderBottom {
  border-bottom: 2px dashed #ccc;
  margin: 30px 0;
}

li:last-of-type .borderBottom {
  display: none;
}

.btn-info.confirmBtn {
  margin-left: 105px;
  width: 100px;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  background-color: #09ba79;
  height: 40px;
  border-radius: 0;
  border: 0;
  &:hover {
    background-color: #22b7b2;
  }
}

.BtnSubCon,
.prevBtn,
.confirmBtn {
  margin-left: 105px;
  min-width: 100px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  background-color: #09ba79;
  height: 40px;
  border-radius: 0;
  border: 0;
  padding: 0 20px;
}

.prevBtn {
  color: #4e5e7e;
  background-color: #fafafa;
  border-color: #e6e1df;
}

.confirmBtn {
  margin-left: 30px;
}

.BtnSubCon:hover,
.confirmBtn:hover {
  background-color: #22b7b2;
  border-color: #22b7b2;
}

textarea {
  border: 1px solid #ddd;
}

.a {
  margin-left: 15px;
  line-height: 34px;
}

.search-r {
  float: right !important;
}

.dropdown {
  position: relative;
  padding: 0 !important;
  background: #fff url('../../assets/images/date.png') no-repeat scroll right center;
  display: inline-block;
  box-sizing: border-box;
  input {
    width: 100%;
    height: 100%;
    padding: 6px 12px;
    color: rgb(127, 136, 156);
    background: none;
    padding-right: 30px;
    font-size: 12px;
    position: relative;
  }
  .address-ul {
    display: none;
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 100;
    max-height: 300px;
    overflow: auto;
    background-color: #fff;
    border: 1px solid #0091e4;
    li {
      font-size: 12px;
      line-height: 18px;
      padding: 0 10px;
      &:hover {
        background-color: #0091e4;
        color: #fff;
      }
    }
  }
}
